/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Parser;

import lowlevel.Data;
import lowlevel.FuncParam;
import lowlevel.Function;

/**
 *
 * @author maxmuhlenkamp
 */
public class Param {
    Identifier id;
    boolean isArray;
    
    public Param(Identifier id, boolean isArray){
        this.id = id;
        this.isArray = isArray;
    }
    
    void print(String indent){
        CMinusParser.oFile.println(indent + "Param:");
        CMinusParser.oFile.println(indent + "  int");
        id.print(indent + "  ");
        if(isArray){
            CMinusParser.oFile.println(indent + "  []");
        }
        CMinusParser.oFile.flush();
    }
}
